﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NPlurk
{
    public class UserChannelData
    {
        public long new_offset { get; set; }
        public UpcomingData[] data { get; set; }
    }

    public class UpcomingData
    {
        public string type { get; set; }
        public long plurk_id { get; set; }
        public Plurk plurk { get; set; }
        public Plurk response { get; set; }
        public int response_count { get; set; }
        public Dictionary<string, User> user { get; set; }

        public string GetPlurkUrl()
        {
            return string.Format("http://www.plurk.com/p/{0}", Base36.Encode(plurk_id));
        }

        public override string ToString()
        {
            return string.Format("<{0}> {1}", type, response);
        }

    }

}
